
<tr class="<%=get_class_name_on_ready(survey)%>" >
  <td style="text-align: left; border: none;"><%=h survey.title %></td>
  <td style="border: none;"><%=h survey.creationDate %></td>
  <td style="border: none;"><%=h survey.startDate %></td>
  <td style="border: none;"><%=h survey.ready %></td>
</tr>
<tr>
  <td colspan="4" style="text-align: left; padding: 5px;">
    <%= link_to 'Pokaż',{:id => survey ,:action=>"show_survey"} %>
    <%= link_to 'Usuń', {:id => survey ,:action=>"delete_survey"} , :confirm => 'Are you sure?', :method => :delete%>
    <%= link_to 'Edytuj', {:id => survey ,:action=>"edit_survey"} %>                                            
    <%= link_to 'Prawa', {:id => survey ,:controller=>"rights",:action=>"rights_overview"} %>
  </td>
</tr>